package com.hk.model;

import java.io.Serializable;

/**
 * @Author: KangWang
 * Date: 2021/5/18 17:17
 * State：在线留言
 */
public class OnlineMessage implements Serializable {

    private Integer id;
    private String title;//留言标题
    private String email;//留言邮箱
    private String content;//留言内容
    private String gmtCreate;
    private String gmtModified;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(String gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public String getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(String gmtModified) {
        this.gmtModified = gmtModified;
    }

    public OnlineMessage(Integer id, String title, String email, String content, String gmtCreate, String gmtModified) {
        this.id = id;
        this.title = title;
        this.email = email;
        this.content = content;
        this.gmtCreate = gmtCreate;
        this.gmtModified = gmtModified;
    }

    public OnlineMessage() {

    }

    @Override
    public String toString() {
        return "OnlineMessage{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", email='" + email + '\'' +
                ", content='" + content + '\'' +
                ", gmtCreate='" + gmtCreate + '\'' +
                ", gmtModified='" + gmtModified + '\'' +
                '}';
    }
}
